#pragma comment (lib, "SDLmain.lib")
#pragma comment (lib, "SDL.lib")
#ifdef _DEBUG
	#pragma comment (lib, "../../../Debug/IA.lib")
	#pragma comment (lib, "../../../Debug/Gomoku.lib")
#else
	#pragma comment (lib, "../../../Release/IA.lib")
	#pragma comment (lib, "../../../Release/Gomoku.lib")
#endif

#include <ctime>
#include "MyTree.h"

int main()
{

	//system("pause");
	double cl1 = clock();
	for (int i = 0; i < 1; ++i)
	{
		//double cl1 = clock();
		MyTree* a = new MyTree();
		//a->aff();
		/*
		// creer aussi les fils
		a->AddPiece();
		//a->affFeuille();
		
		Move m = a->LaunchMinMax();
		unsigned short x;
		unsigned short y;
		m.GetCoordinates(x, y);

		std::cout << a->heuristic << std::endl;
		std::cout << "Il faut bouger en (" << x << "," << y << ")" <<  std::endl;
		*/
		//double cl2 = clock();

		delete a;
	}

	double cl2 = clock();
	std::cout << "Total: " << double(cl2 - cl1) << " ms" << std::endl;
	system("pause");
}